package com.ddlaw.mapper;

import java.util.List;
import java.util.Map;

import com.ddlaw.entity.TContractType;
import com.ddlaw.entity.TLawContracts;

public interface TContractTypeMapper {
	/**根据类型ID获取合同类型*/
    List<TContractType> getByTypeId(Integer contractid);
    /**获取合同类型*/
    TLawContracts getDetailById(int id);
    /**根据类型获取合同*/
    List<TLawContracts> getByType(Map params);
    /**阅读量计算*/
    int addReadNum(int contractId);
   
}